Profile    Mohammed Shiroz Status   Loading  
Logo
Share This

My database
blog and Updates

It's my personal blog and my post about what was my interested in. Not regularly. If you have any questions any discussion, I'm happy you get in touch with me, and try to answer as many as possible!

Blog
Let's See
Back to blog
Filter by:
Tags
//Article

MySQL vs PostgreSQL for Laravel Projects: An Honest, Benchmark-Free Comparison

MySQL vs PostgreSQL for Laravel Projects: An Honest, Benchmark-Free Comparison

Blog Summary

For a typical Laravel app, both MySQL and PostgreSQL are excellent. The real differences are at the edges: JSON, extensions, migrations, case sensitivity and your team. Here's where each one wins, and how to decide.

Read more
  • 87
  • 91
  • 13

Character Sets, Collations and Sorting: Why Your Database Thinks "Sara" Equals "sara"

Character Sets, Collations and Sorting: Why Your Database Thinks "Sara" Equals "sara"

Blog Summary

A unique email that rejects a different capital letter, lists that sort differently in PHP and MySQL, Arabic searches that miss: all collation. Here's how character sets and collations work, and how to choose them on purpose.

Read more
  • 141
  • 16
  • 3

Database Replication Explained: Primaries, Replicas and the Lag That Bites

Database Replication Explained: Primaries, Replicas and the Lag That Bites

Blog Summary

The user saves a form, gets redirected, and sees "record not found". Then they refresh and it's there. How database replication works, what Laravel's sticky option fixes, and the lag problems it doesn't.

Read more
  • 90
  • 29
  • 16

Eloquent Relationships You Might Be Underusing (and the Queries They Replace)

Eloquent Relationships You Might Be Underusing (and the Queries They Replace)

Blog Summary

Most Laravel apps use hasMany and belongsTo, then hand-write everything else. hasManyThrough, latestOfMany, withSum, whereRelation and morphs can replace pluck-and-loop code with cleaner, faster queries.

Read more
  • 46
  • 133
  • 14

Big O Notation for Working Developers: Finding the Loop That Doesn't Scale

Big O Notation for Working Developers: Finding the Loop That Doesn't Scale

Blog Summary

Big O isn't interview trivia. It's the reason code that handles 200 rows times out at 20,000. Here's a practical guide with real examples: hidden nested loops, database indexes, N+1 queries, and when it doesn't matter.

Read more
  • 34
  • 72
  • 15

SQL vs NoSQL: How to Choose a Database Without the Hype

SQL vs NoSQL: How to Choose a Database Without the Hype

Blog Summary

"SQL doesn't scale" and "NoSQL is faster" are both half-truths. Four myths, one honest comparison table, when NoSQL really fits, and how MySQL JSON columns give you flexibility without a second database.

Read more
  • 115
  • 79
  • 11

01. About Shiroz

Mohammed Shiroz

Hi, I'm Mohammed Shiroz, a software engineer and AI enthusiast from Sri Lanka who turns ideas into intelligent, real-world solutions. With over 9 years of hands-on experience, I currently lead real estate ERP development at Kate Group, a...

03.My Projects

04. Categories

Ready To Start Your Project ?

Get in Touch
Close